package com.envision.user.service;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <strong>Title : UserService.java<br>
 * </strong> <strong>Description :用户service </strong><br>
 * <strong>Create on : 2018年03月07日<br>
 * <p>
 *
 * @author karrychang<br>
 * @version <strong>1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人		修改日期		修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public interface IUserService {
    /**
    *************************************************************************
     * IUserService.java——loginout<br>
     * Author: karrychang<br>
     * Date: 2018/7/16<br>
     * Description:<br>
     * Used in：<br>
     * @param request
     * @return
     *************************************************************************
     */
    public void loginout(HttpServletRequest request);

    /** 
    *************************************************************************
     * IUserService.java——login<br>
     * Author: karrychang<br>
     * Date: 2018/7/16<br>
     * Description:<br>
     * Used in：<br>
     * @param name
     * @param password
     * @return
     *************************************************************************
     */
    public String login(String name,String password,HttpServletResponse response,HttpServletRequest request);
}
